Ext.layout.TableLayout.prototype.renderItem = function(c, position, target){

	// Ensure we have our inner table to get cells to render into.
	if(!this.table){
		this.table = target.createChild(
			Ext.apply({tag:'table', cls:'x-table-layout', cellspacing: 0, cn: {tag: 'tbody'}}, this.tableAttrs), null, true);
	}
	if(c && !c.rendered){
		var td=this.getNextCell(c);
		if (c.align) td.setAttribute("align",c.align);
		if (c.valign) td.setAttribute("valign",c.valign);
		if (c.tdStyle) td.setAttribute("style",c.tdStyle);
		c.render(td);
		this.configureItem(c, position);
	}else if(c && !this.isValidParent(c, target)){
		var container = this.getNextCell(c);
		container.insertBefore(c.getPositionEl().dom, null);
		c.container = Ext.get(container);
		this.configureItem(c, position);
	}

};